<?

require_once('base-provider.php');

class LobbyProvider extends BaseProvider
{
	public function __construct() 
	{
		parent::__construct(
			'lobby', 
			array (
				'id' => 'lid',
				'doc' => 'doc',
				'sub' => array (
					'lobby_id' => array (
						'ref0' => 'lid',
						'id' => 'uid'
					),
					'lobby_score' => array (
						'ref0' => 'lid',
						'id' => 'alias'
					)
				)
			)
		);
	}
}

class LobbyScoreHistoryProvider extends BaseProvider
{
	public function __construct() 
	{
		parent::__construct(
			'lobby_score_hist', 
			array (
				'id' => 'hid'
			)
		);
	}
}

?>